package com.Home.Control;

import com.Home.bean.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class TestController {

    @Autowired
//    PersonDao personDao;
    @RequestMapping("/test")
    public String test(){
//        personDao.save(new Person("myname"));
//        personDao.save(new Person("wahaha"));
        return "66666";

    }

}
